package xin.nick.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Auther: Nick inickning@outlook.com
 * @Date: 2021/2/27 12:00
 * @Description:
 */
@SpringBootApplication
@EnableHystrix
@EnableFeignClients(basePackages = "xin.nick.demo")
@EnableEurekaClient
public class HystrixFeignDemoApp {
    public static void main(String[] args) {
        SpringApplication.run(HystrixFeignDemoApp.class, args);
    }
}
